﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014C1 RID: 5313
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UpdatePlayerSettingScRsp : IMessage<UpdatePlayerSettingScRsp>, IMessage, IEquatable<UpdatePlayerSettingScRsp>, IDeepCloneable<UpdatePlayerSettingScRsp>, IBufferMessage
	{
		// Token: 0x170042E0 RID: 17120
		// (get) Token: 0x0600ED90 RID: 60816 RVA: 0x0027A96D File Offset: 0x00278B6D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UpdatePlayerSettingScRsp> Parser
		{
			get
			{
				return UpdatePlayerSettingScRsp._parser;
			}
		}

		// Token: 0x170042E1 RID: 17121
		// (get) Token: 0x0600ED91 RID: 60817 RVA: 0x0027A974 File Offset: 0x00278B74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UpdatePlayerSettingScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170042E2 RID: 17122
		// (get) Token: 0x0600ED92 RID: 60818 RVA: 0x0027A986 File Offset: 0x00278B86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UpdatePlayerSettingScRsp.Descriptor;
			}
		}

		// Token: 0x0600ED93 RID: 60819 RVA: 0x0027A98D File Offset: 0x00278B8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdatePlayerSettingScRsp()
		{
		}

		// Token: 0x0600ED94 RID: 60820 RVA: 0x0027A998 File Offset: 0x00278B98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdatePlayerSettingScRsp(UpdatePlayerSettingScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.lAOGOECAMIK_ = ((other.lAOGOECAMIK_ != null) ? other.lAOGOECAMIK_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600ED95 RID: 60821 RVA: 0x0027A9E4 File Offset: 0x00278BE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdatePlayerSettingScRsp Clone()
		{
			return new UpdatePlayerSettingScRsp(this);
		}

		// Token: 0x170042E3 RID: 17123
		// (get) Token: 0x0600ED96 RID: 60822 RVA: 0x0027A9EC File Offset: 0x00278BEC
		// (set) Token: 0x0600ED97 RID: 60823 RVA: 0x0027A9F4 File Offset: 0x00278BF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170042E4 RID: 17124
		// (get) Token: 0x0600ED98 RID: 60824 RVA: 0x0027A9FD File Offset: 0x00278BFD
		// (set) Token: 0x0600ED99 RID: 60825 RVA: 0x0027AA05 File Offset: 0x00278C05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CNMLONGLBHB LAOGOECAMIK
		{
			get
			{
				return this.lAOGOECAMIK_;
			}
			set
			{
				this.lAOGOECAMIK_ = value;
			}
		}

		// Token: 0x0600ED9A RID: 60826 RVA: 0x0027AA0E File Offset: 0x00278C0E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UpdatePlayerSettingScRsp);
		}

		// Token: 0x0600ED9B RID: 60827 RVA: 0x0027AA1C File Offset: 0x00278C1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UpdatePlayerSettingScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.LAOGOECAMIK, other.LAOGOECAMIK) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600ED9C RID: 60828 RVA: 0x0027AA6C File Offset: 0x00278C6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.lAOGOECAMIK_ != null)
			{
				num ^= this.LAOGOECAMIK.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600ED9D RID: 60829 RVA: 0x0027AAC1 File Offset: 0x00278CC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600ED9E RID: 60830 RVA: 0x0027AAC9 File Offset: 0x00278CC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600ED9F RID: 60831 RVA: 0x0027AAD4 File Offset: 0x00278CD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Retcode);
			}
			if (this.lAOGOECAMIK_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.LAOGOECAMIK);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EDA0 RID: 60832 RVA: 0x0027AB30 File Offset: 0x00278D30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.lAOGOECAMIK_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.LAOGOECAMIK);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EDA1 RID: 60833 RVA: 0x0027AB88 File Offset: 0x00278D88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UpdatePlayerSettingScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.lAOGOECAMIK_ != null)
			{
				if (this.lAOGOECAMIK_ == null)
				{
					this.LAOGOECAMIK = new CNMLONGLBHB();
				}
				this.LAOGOECAMIK.MergeFrom(other.LAOGOECAMIK);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EDA2 RID: 60834 RVA: 0x0027ABF0 File Offset: 0x00278DF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EDA3 RID: 60835 RVA: 0x0027ABFC File Offset: 0x00278DFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 66U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.lAOGOECAMIK_ == null)
						{
							this.LAOGOECAMIK = new CNMLONGLBHB();
						}
						input.ReadMessage(this.LAOGOECAMIK);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005DF2 RID: 24050
		private static readonly MessageParser<UpdatePlayerSettingScRsp> _parser = new MessageParser<UpdatePlayerSettingScRsp>(() => new UpdatePlayerSettingScRsp());

		// Token: 0x04005DF3 RID: 24051
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005DF4 RID: 24052
		public const int RetcodeFieldNumber = 4;

		// Token: 0x04005DF5 RID: 24053
		private uint retcode_;

		// Token: 0x04005DF6 RID: 24054
		public const int LAOGOECAMIKFieldNumber = 8;

		// Token: 0x04005DF7 RID: 24055
		private CNMLONGLBHB lAOGOECAMIK_;
	}
}
